package com.example.pt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;

@Entity
@TableName("user_transfer_stats")
public class UserTransferStats {
    
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private Integer userId;
    
    private String infoHash;
    
    private Long uploaded;

    public Long getVirtual_uploaded() {
        return virtual_uploaded;
    }

    public void setVirtual_uploaded(Long virtual_uploaded) {
        this.virtual_uploaded = virtual_uploaded;
    }

    public Long getVirtual_downloaded() {
        return virtual_downloaded;
    }

    public void setVirtual_downloaded(Long virtual_downloaded) {
        this.virtual_downloaded = virtual_downloaded;
    }

    private Long virtual_uploaded;

    private Long downloaded;
    
    private Long virtual_downloaded;

    private String peerIp;
    
    private Integer peerPort;
    
    private String peerId;
    
    private Long lastUpdated;
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public Integer getUserId() {
        return userId;
    }
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    
    public String getInfoHash() {
        return infoHash;
    }
    
    public void setInfoHash(String infoHash) {
        this.infoHash = infoHash;
    }
    
    public Long getUploaded() {
        return uploaded;
    }
    
    public void setUploaded(Long uploaded) {
        this.uploaded = uploaded;
    }
    
    public Long getDownloaded() {
        return downloaded;
    }
    
    public void setDownloaded(Long downloaded) {
        this.downloaded = downloaded;
    }
    
    public String getPeerIp() {
        return peerIp;
    }
    
    public void setPeerIp(String peerIp) {
        this.peerIp = peerIp;
    }
    
    public Integer getPeerPort() {
        return peerPort;
    }
    
    public void setPeerPort(Integer peerPort) {
        this.peerPort = peerPort;
    }
    
    public String getPeerId() {
        return peerId;
    }
    
    public void setPeerId(String peerId) {
        this.peerId = peerId;
    }
    
    public Long getLastUpdated() {
        return lastUpdated;
    }
    
    public void setLastUpdated(Long lastUpdated) {
        this.lastUpdated = lastUpdated;
    }
} 